﻿using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Activation;
using Acaweb.Common;
using Acaweb.Model.Entities;
using Acaweb.Servicios.Contracts;
using Components = Acaweb.Componentes.Contracts;

namespace Acaweb.Servicios.Services
{
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
    public class IdiomasService : IIdiomasService
    {
        Components.IIdiomasService _IdiomasComponent = AppCtx.Resolve<Components.IIdiomasService>();

        public List<Idiomas> GetAll()
        {
            return _IdiomasComponent.GetAll().ToList();
        }
    }
}